package ru.hei.pointsserver.entities

import org.springframework.data.annotation.Id
import org.springframework.data.relational.core.mapping.Table
import java.sql.Timestamp
import java.time.Instant
import java.util.*

@Table(name = "points_log")
data class PointsLog(
  @Id val id: UUID? = null,
  val time: Timestamp? = Timestamp.from(Instant.now()),
  val professorId: UUID,
  val houseId: Long,
  val points: Int
)
